home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 85 / CD-ROM 85 / CD-ROM 85.iso / aplic / 2sync / 2SyncSetup.exe / modules / em / panel / scripts / DefineButton2_102 / BUTTONCONDACTION on(press).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  497 b   |  20 lines

  1. on(press){
  2.    if(type ne "nx" and type ne "pv")
  3.    {
  4.       set("_level40/sound/lib:sound","154");
  5.       call("_level40/sound/lib:play");
  6.       set("../../../codelib:selectsubbox",n);
  7.       call("../../../codelib:selectboxsub");
  8.       set("../:selectall","1");
  9.       setProperty("../../../../dragscrollcatch", _visible, "1");
  10.       set("../../../codelib:rangesubbox","0");
  11.    }
  12.    else
  13.    {
  14.       tellTarget("boxsubbutton")
  15.       {
  16.          gotoAndStop("select");
  17.       }
  18.    }
  19. }
  20.